package org.ricks.common.db;

import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2020/12/2316:42
 */
public interface RowProcessor {
    Object[] toArray(ResultSet var1) throws SQLException;

    <T> T toBean(ResultSet var1, Class<? extends T> var2) throws SQLException;

    <T> List<T> toBeanList(ResultSet var1, Class<? extends T> var2) throws SQLException;

    Map<String, Object> toMap(ResultSet var1) throws SQLException;
}
